package cn.wolfcode.p2p.base.service;

import cn.wolfcode.p2p.base.domain.Account;
import cn.wolfcode.p2p.business.domain.BidRequest;

public interface IAccountService {
    int insert(Account account);
    int update(Account account);

    Account select(Long id);

    /**
     * 获取当前账户
     * @param id
     * @return
     */
    Account getCurrent();

    Account get(Long id);
}
